package com.nh.utils;

public class JsonUtil {
	public static String replaceProperty(String str,String[] oldStr,String[] newStr){
		if(oldStr.length==newStr.length){
			int length=oldStr.length;
			for(int i=0;i<length;i++){
				str=str.replaceAll(oldStr[i], newStr[i]);
			}
			return str;
		}else{
			return null;
		}
	}
}
